package com.mccrea.pattern.facade;

/**
 * @Classname Projecter
 * @Description 投影仪
 * @Date 2021/5/11 0011 15:28
 * @Created by Mccrea_Gao
 */
public class Projector {
    private Projector() {

    }
    private static final Projector INSTANCE = new Projector();

    public static Projector getInstance() {
        return INSTANCE;
    }

    public void on() {
        System.out.println("投影仪打开");
    }

    public void off() {
        System.out.println("投影仪关闭");
    }

    public void focus() {
        System.out.println("投影仪正在聚焦");
    }
}
